package com.oig.base.api;


import com.oig.base.api.factory.HarborAssociationServiceFallBackFactory;
import com.oig.sys.base.vo.HarborAssociationVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(contextId="harborAssociationService", value="sys-base-server",path="/harborAssociation",fallbackFactory= HarborAssociationServiceFallBackFactory.class)
public interface HarborAssociationService {

    @GetMapping(value = "/listAll")
    List<HarborAssociationVo> listAll();


}
